<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
	String basePath = request.getContextPath();
%>
<h2 class="contentTitle">平台用户添加</h2>

<div class="pageContent">

	<form method="post" action="<%=basePath%>/user/userAdd.action" class="pageForm required-validate" onsubmit="return validateCallback(this,navTabAjaxDone,'确认添加新的平台用户?')">
		
		<!-- 页面字段值 -->
		<div class="pageFormContent nowrap" layoutH="97" id="pageField">

			<dl>
				<dt>用户名：</dt>
				<dd>
					<input type="text" id="userName" name="user.userName" class="required alphanumeric" minlength="8"/>
				</dd>
			</dl>

			<dl>
				<dt>用户密码：</dt>
				<dd>
					<input type="password" id="userPwd" name="user.userPwd" minlength="8" class="required"/>
				</dd>
			</dl>

			<dl>
				<dt>用户姓名：</dt>
				<dd>
					<input type="text" id="userRealName" name="user.userRealName" maxlength="10" class="required"/>
				</dd>
			</dl>

			<dl>
				<dt>用户座机：</dt>
				<dd>
					<input type="text" id="userPhone" name="user.userPhone"
						maxlength="10" />
				</dd>
			</dl>

			<dl>
				<dt>用户手机：</dt>
				<dd>
					<input type="text" id="userMobile" name="user.userMobile"
						maxlength="10" />
				</dd>
			</dl>

			<dl>
				<dt>用户分机号：</dt>
				<dd>
					<input type="text" id="userSubPhone" name="user.userSubPhone" />
				</dd>
			</dl>

			<dl>
				<dt>用户地址：</dt>
				<dd>
					<input type="text" id="userAddress" name="user.userAddress"
						maxlength="10" />
				</dd>
			</dl>

			<dl>
				<dt>用户邮箱：</dt>
				<dd>
					<input type="text" id="userEmail" name="user.userEmail"
						class="required email" alt="请输入您的电子邮件" />
				</dd>
			</dl>


		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">提交</button>
						</div>
					</div></li>
				<li><div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div></li>
			</ul>
		</div>
	</form>
</div>
